package com.rayboo.example.thread;

/**
 * Thread 示例
 *
 * @author ray
 * @since 2019/07/29
 *
 * <p>https://beginnersbook.com/2013/03/multithreading-in-java/
 */
public class ThreadExample extends Thread {

    public void run() {
        System.out.println("My thread is in running state.");
    }

    public static void main(String args[]) {
        ThreadExample obj = new ThreadExample();
        obj.start();
    }
}
